﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _025_第二十五章_中介者模式
{
    class Program
    {
        static void Main(string[] args)
        {
            UnitedNation un = new UnitedNation();
            Country us = new US(un);
            Country iraq = new Iraq(un);

            us.SendMessage("不准研发核武器，否则发动战争..", iraq);
            iraq.SendMessage("没有研发核武器，不怕侵略..", us);

            Console.ReadKey();
        }
    }
}
